package com.zuoye.zuoye4;

public class Test {
    public static void main(String[] args) {
        Car car = new Car();
        car.start();
        car.stop();
        System.out.println("============");
        Housecar housecar = new Housecar("宝马","京91111","小轿车");
        housecar.start();
        housecar.stop();
        System.out.println(housecar.getName());
        System.out.println(housecar.getModel());
        System.out.println(housecar.getPlate());
        System.out.println("=========");
        Taxi  taxi = new Taxi();
        taxi.start();
        taxi.stop();
    }
}
